package com.waiting.thread;

/**
 * @Description
 * @Author bjweitingting
 * @Date 2019/2/19
 **/
public class RunnableThread implements Runnable {
    @Override
    public void run() {
        System.out.println("通过实现Runnable接口创建线程");
    }

    public static void main(String[] args) {
        Runnable test=new RunnableThread();
        new Thread(test).start();
    }
}
